<template>
  <div class="box">
    <div class="box1">
      <header class="header">
        <input type="text" style="width:70%;height:30px;margin-left: 10px;margin-top: 10px;" placeholder="OPPO A3">
        登录
      </header>
      <div class="content">
        <div>
            <img style="width:400px;heigth:50px;margin-top: 5px;" src="./assets/tu1.jpg" alt="">
        </div>
        <div>
          <ul style="display: flex;justify-content: space-between;">
            <li>
              <span><img style="width:60px;height:60px" src="./assets/tu3.jpg" alt=""></span>
              <p>手机</p>
            </li>
             <li>
              <span><img style="width:60px;height:60px" src="./assets/tu3.jpg" alt=""></span>
              <p>平板</p>
            </li>
             <li>
              <span><img style="width:60px;height:60px" src="./assets/tu3.jpg" alt=""></span>
              <p>穿戴</p>
            </li>
             <li>
              <span><img style="width:60px;height:60px" src="./assets/tu3.jpg" alt=""></span>
              <p>声学</p>
            </li>
             <li>
              <span><img style="width:60px;height:60px" src="./assets/tu3.jpg" alt=""></span>
              <p>配件</p>
            </li>
          </ul>
        </div>
        <div>
          <img style="width:400px;heigth:50px;margin-top: 15px;" src="./assets/tu2.jpg" alt="">
        </div>
        <div>
          <h3>手机专区</h3>
          <img style="width:400px;height:200px" src="./assets/tu1.jpg" alt="">
        </div>
      </div>
    </div>
    <footer class="footer">
      <ul>
        <li style="color:orange">
          <span></span>
          <p>首页</p>
        </li>
        <li>
          <span></span>
          <p>分类</p>
        </li>
        <li>
          <span></span>
          <p>购物车</p>
        </li>
        <li>
          <span></span>
          <p>我的</p>
        </li>
      </ul>
    </footer>
  </div>
</template>
<style lang="scss">
* {
  padding: 0;
  margin: 0;
  list-style: none;
}
html,
body,
#app,
.box {
  width: 100%;
  height: 100%;
}
.box{
  display: flex;
  flex-direction: column;
  background: #efefef;
  .box1 {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    .header{
      height: 50px;
    }
    .content{
      flex: 1;
      overflow: auto;
    }
  }
  .footer{
    height: 50px;
    background: #fff;
    ul{
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: space-evenly;
      align-items: center;
    }
  }
}
</style>
